import App from './App'

/* 全局挂载请求库 */
import GraceRequest from '@/Grace6/js/request.js'
import graceRequestConfig from "./custom/graceRequestConfig";
uni.gRequest = GraceRequest;
import app from '@/Grace6/js/grace.js';
// window.app = app
uni.app = app
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  app.config.globalProperties.$uploadUrl = graceRequestConfig.uploadUrl

    return {
    app
  }
}
// #endif
